export default {
    database : {
        type: 'mysql',
        charset : 'utf8mb4',
        host: 'localhost',
        port: 3306,
        username: 'root',
        password: 'root123',
        database: 'cabinet',
        entities: ['dist/**/*.entity{.ts,.js}', 'dist/**/*{.ts,.js}'],
        synchronize: false,
        poolSize : 10
    },

    platformLoginName : '平台',

    redis : [
        {
            url : 'redis://localhost:6379'
        }
    ],

    mqtt : {
        topic : {
            chargeStarategy : 'chargeStarategy'
        },
        
        options : {
            host : '127.0.0.1',
            port : 1883,
            username : 'bill',
            password : '123456',
        }
    },

    loginFailMacCount : 5,

    jwt : {
        expire : 3600,
        login : {
            secret : 'LTAI5tBNbKSkg4rAsqDhvogt',
            scale : 13,
        },

        refreshLogin : {
            secret : '5KjRP77kbyYN9OxdFdWEvVYmvwrYQe',
            scale : 355,
        }
    },

    redisKey : {
        devicePort : 'dev:p:'
    }
}